package br.com.FII.utils;

import br.com.FII.constants.PersistAction;

public class PersistActionUtil {

	public static String getPersistAction( PersistAction p ) {

		switch ( p ) {
			case CREATE:
				return "Created";
			case DELETE:
				return "Deleted";
			case UPDATE:
				return "Updated";
		}

		return "";
	}
}
